home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
unix
/
ch02
/
02fig01.wrl
< prev
Wrap
Text File
|
1996-09-22
|
534b
|
33 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright 1997 By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
# A brown hut
Group {
children [
# Draw the hut walls
Shape {
appearance DEF Brown Appearance {
material Material {
diffuseColor 0.6 0.4 0.0
}
}
geometry Cylinder {
height 2.0
radius 2.0
}
},
# Draw the hut roof
Transform {
translation 0.0 2.0 0.0
children Shape {
appearance USE Brown
geometry Cone {
height 2.0
bottomRadius 2.5
}
}
}
]
}